package com.yuyou.tas.admin.vo.req;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * Created by yujin.liu on 2018/1/22.
 */
public class ReqAuthRoleAdd {

    @ApiModelProperty(value = "名字", required = true)
    @Length(max = 40 , message = "角色名称长度不能超过40个字")
    @NotBlank(message="roleName 不能为空")
    private String roleName;

    @ApiModelProperty(value = "系统类型 0:系统,1:机构", required = true)
    @NotNull(message="系统类型 不能为空")
    private Integer systemType;


    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Integer getSystemType() {
        return systemType;
    }

    public void setSystemType(Integer systemType) {
        this.systemType = systemType;
    }
}
